<?php

/**
 * WeEngine System
 *
 * (c) We7Team 2021 <https://www.w7.cc>
 *
 * This is not a free software
 * Using it under the license terms
 * visited https://www.w7.cc for more details
 */

namespace App\Http\Validator;

use W7\Validate\Validate;

class PayRPCValidate extends Validate
{
    protected $rule = [
        'out_trade_no' => 'required|size:32|regex:/^[A-Za-z0-9]+$/'
    ];

    protected $customAttributes = [
        'out_trade_no' => '商户订单号'
    ];
}
